public class Worker2 extends User{
//    int age;
    Worker2(String name) {
        super("222");
        this.name = name;
    }


    @Override
    public void print() {
//        System.out.println(this.age);
//        System.out.println(super.age);
//        System.out.println(this.age);
//        System.out.println(super.age);
        System.out.println(this.name);
        System.out.println(super.name);
    }
}
